<template>
  <div class="demo-title">radio/demo2</div>
  <div class="demo">
    <RadioGroup v-model="value" text-position="left">
      <Radio label="1" disabled>
        Option content
        <template #icon>
          <Icon name="checklist" />
        </template>
        <template #checkedIcon>
          <Icon name="checklist" color="#e8f3ff" />
        </template>
      </Radio>
    </RadioGroup>
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue'
  import { Radio, RadioGroup } from '@sscd-mobile/radio'
  import Icon from '@sscd-mobile/icon'
  const value = ref('1')
</script>

<style scoped>
  .demo {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
  }
</style>
